package com.dms.mapper;

import com.dms.pojo.Building;
import com.dms.pojo.Repair;

import java.util.List;
import java.util.Map;

/**
 * @className: RepairManageMapper
 * @package: com.dms.mapper
 * @description 后勤服务的报修模块的数据访问层接口
 * @author: sk
 */
public interface RepairManageMapper {

    //获取楼栋列表
    List<Building> getBuildingList();

    //模糊查询报修列表
    List<Repair> getRepairListLimit(Map<String, Object> map);

    //获取total
    int getRepairTotal(Map<String, Object> map);

    //设置报修解决时间
    int updateProcessingTime(Map<String, Object> map);

    //根据id删除报修信息
    int deleteRepair(Integer repairId);

    //物品报修申请
    int addRepair(Map<String, Object> map);
}
